﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ASmile.Event
{
    public class TriggerArg
    {
        /// <summary>
        /// 事件名称
        /// </summary>
        public string EventName { set; get; }
        /// <summary>
        /// 触发者
        /// </summary>
        public object Sender { set; get; }
        /// <summary>
        /// 扩展对象参数
        /// </summary>
        public object Tag { set; get; }
        /// <summary>
        /// 上次触发结果
        /// </summary>
        public TriggerResult LastResult { internal set; get; }        
        /// <summary>
        /// 触发参数
        /// </summary>
        public DictExtend Values { get; } = new DictExtend();
    }
}
